package org.example.infrastructure.persistence.orm;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.domain.system.model.UserAccount;

@Mapper
public interface UserAccountMapper extends BaseMapper<UserAccount> {

    UserAccount getUserAccountByUserName(@Param(value = "userName") String userName);

    int registerUser(UserAccount userAccount);

    int updateUser(UserAccount userAccount);
}
